package com.baba.shop.controller;

import java.io.File;
import java.util.Date;

import org.apache.commons.lang3.StringUtils;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.mchange.v2.async.StrandedTaskReporting;

@Controller
public class UIController {
	
	@RequestMapping("/{page}.do")
	public String staticPage(@PathVariable("page") String page) {
		return page;
	}
	
	@RequestMapping("/{module}/{page}.do")
	public String staticSecPage(@PathVariable("page") String page,@PathVariable("module") String module) {
		
		return module+"/"+page;
	}
}
